home *** CD-ROM | disk | FTP | other *** search
- Path: kikkin.zko.dec.com!carlson
- From: carlson@kikkin.zko.dec.com (Tom Carlson)
- Newsgroups: comp.lang.c++
- Subject: Re: templates on VAX/VMS
- Date: 28 Feb 1996 14:19:58 GMT
- Organization: Digital Equipment Corporation
- Distribution: world
- Message-ID: <4h1oae$t5c@zk2nws.zko.dec.com>
- References: <gastineau-2502961624010001@dialupline64.ghgcorp.com> <825496915.10116@vecnet.demon.co.uk>
- Reply-To: carlson@kikkin.zko.dec.com (Tom Carlson)
- NNTP-Posting-Host: kikkin.zko.dec.com
- X-Newsreader: mxrn 6.18-16
-
-
- In article <825496915.10116@vecnet.demon.co.uk>, gspencer@vecnet.demon.co.uk (Gary K. Spencer) writes:
-
-
- |>You need to use :-
- |> #pragma define_template List<int>
- |> #pragma define_template List<float>
- |>
- |>in one of your source modules to get the compiler to generate the code for the
- |>template class. I think there is a command line switch that does the same
- |>thing, but I use the above method.
-
- The commandline switch is /template_define .
-
- Tom
-
- --
-
- Thomas Carlson, DEC C/ DEC C++ carlson@decc.enet.dec.com
- Digital Equipment Corporation, ZK2-3/N30
- 110 Spitbrook Rd,
- Nashua, NH 03062
-